package com.parktech.sun.domain.service.industryinfo;

import com.parktech.sun.domain.model.industryinfo.IndustryInfo;
import com.parktech.sun.domain.model.industryinfo.IndustryInfoCategory;
import com.parktech.sun.domain.repository.Page;
import com.parktech.sun.domain.service.BaseService;

import java.util.List;

/**
 * User: Think
 * Date: 11-1-13
 * Time: 下午9:05
 */
public interface IndustryInfoService extends BaseService<IndustryInfo> {

    Page searchCategory(String title, Page page);

    IndustryInfoCategory getByCategoryId(Long aLong);

    void saveOrUpdateCategory(IndustryInfoCategory industryInfoCategory);

    Page search(String title, Long category, Integer publishStatus, Page page);

    Page pageBy(Long categoryId, Page page);

    List<IndustryInfo> listTop6();
}
